helloApp.config(function($stateProvider, $urlRouterProvider) {

    var access = routingConfig.accessLevels;

    $stateProvider
        .state('root.admin', {
            abstract: true,
            templateUrl: "/app/private/view/index.html",
            controller: "PrivateCtrl",
            data: {
                access: access.user
            }
        });
});

helloApp.controller('PrivateCtrl', function ($scope, $http, $state, $q, $rootScope, Auth, $translate) {
    $scope.logout = function ($event) {

        Auth.logout();
    };
});